/** 
 * @Title:TODO  
 * @Desription:TODO
 * @Company:CSN
 * @ClassName:Work.java
 * @Author:Justic
 * @CreateDate:2015-6-30   
 * @UpdateUser:Justic  
 * @Version:0.1 
 *    
 */

package com.justic.zk.quartz;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName: Work
 * @Description: TODO
 * @author: Justic
 * @date: 2015-6-30
 * 
 */
public class Work {

	private String name;

	public Work(String name) {
		this.name = name;
	}

	public void print() {
		Date date = new Date(System.currentTimeMillis());
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		System.out.println("time:" + dateFormat.format(date) + name.concat(" doing............"));
	}
	
	public void start(){
		print();
	}
	
}
